import { MockMethod } from "vite-plugin-mock";

export default [
  {
    url: "/mock/api/project",
    method: "get",
    response: () => {
      return {
        code: 200,
        message: "success",
        data: [
          {
            userId: "1",
            id: "1",
            title: "项目1",
            detail: "这是一个项目是一个是一个是一个是一个",
          },
        ],
      };
    },
  },
] as MockMethod[];
